package sz.com.postoffice.jxyzwgcase.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmolumentRule implements Serializable {
    private static final long serialVersionUID = 9041549681262275113L;

    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("规则编码")
    private String code;
    @ApiModelProperty("规则名称")
    private String name;
    @ApiModelProperty("模板编码")
    private String templateCode;
    @ApiModelProperty("业务类型")
    private Integer type;
    @ApiModelProperty("固定收益")
    private double fixedIncome;
    @ApiModelProperty("提成比例")
    private double commissionRate;
    @ApiModelProperty("最低折扣")
    private double minDiscount;
    @ApiModelProperty("最高折扣")
    private double maxDiscount;
    @ApiModelProperty("是否打折")
    private Integer isDiscount;
    @ApiModelProperty("是否散件")
    private Integer isLooseItems;
}
